@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">

		<div class="form-horizontal" id="jobInfoForm">

			<input type="hidden" id="id" name="id" value=""> <input
				type="hidden" id="type" name="type" value="add">

			<div class="row">
				<div class="col-sm-11 b-r">

					<#input id='jobName' name='任务名称' underline='true' />

				
				    <div class="form-group">
                    <label class="col-sm-3 control-label">类名称</label>
                     <div class="col-sm-9">
    	                <select class="form-control" id="springBeanName"
					     name="springBeanName" onchange="JobInfoDlg.showMethods()"></select>
                     </div>
                   </div>

                   <div class="hr-line-dashed"></div>

				
				   <div class="form-group">
                    <label class="col-sm-3 control-label">方法名<span style="color: red">（目前仅支持无参方法）</span></label>
                     <div class="col-sm-9">
    	                <select class="form-control" id="methodName"
					     name="methodName"></select>
                     </div>
                   </div>

                   <div class="hr-line-dashed"></div>
				
			
			
			       <div class="form-group">
                    <label class="col-sm-3 control-label">cron表达式</label>
                     <div class="col-sm-9">
    	                <input type="text" class="form-control" placeholder="请输入表达式" id="cron" name="cron"/>
                     </div>
                   </div>

                   <div class="hr-line-dashed"></div>
			
			
			   
				<#select id="status" name="状态" underline='true'>
						<option value="0">停止</option>
						<option value="1">正常</option>
				</#select>
			    <#input id='description' name='描述' underline='true' />
				<#input id='remarks' name='备注' underline='true' />

                </div>

              
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-11">
                    <#button btnCss="info" name="提交" id="ensure"
						icon="fa-check" clickFun="JobInfoDlg.addSubmit()" />
                    <#button btnCss="danger" name="取消" id="cancel"
						icon="fa-eraser" clickFun="JobInfoDlg.close()" />
                </div>
            </div>
            
        </div>

    </div>
</div>
<script src="/modular/system/job/job_info.js"></script>
@}
